/**
 * This project create for studying propose at BUPT University. You can change or reuse this project anywhere
 */

package edu.bupt.ooad.library;

/**
 * @author Hamed Abdollahpour
 */
public class Teacher extends Patron {

    private String department;

    @Override
    public PetronType getType() {
        return PetronType.TEACHER;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getDepartment() {
        return department;
    }

}
